package com.bukkit.tj007razor.polyzones;

import org.bukkit.event.block.BlockDamageEvent;
import org.bukkit.event.block.BlockListener;
import org.bukkit.event.block.BlockPlaceEvent;

public class PolyZonesBlockListener extends BlockListener
{
    private PolyZones plugin; // plugin we are a listener for

    /**
     * Initialize the block listener
     * 
     * @param plugin
     *            the plugin we are a listener for
     */
    public PolyZonesBlockListener(PolyZones plugin)
    {
        this.plugin = plugin;
    }

    /**
     * Check block placement to make sure player can do that in current zone
     * 
     * @param event
     *            block place event
     */
    @Override
    public void onBlockPlace(BlockPlaceEvent event)
    {

    }

    /**
     * Check on block damage that the player doing the damage can actually damage blocks
     * 
     * @param even
     *            block break event
     */
    @Override
    public void onBlockDamage(BlockDamageEvent event)
    {

    }
}
